package com.example.fall_guard_band.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("abnormal_behavior")
public class AbnormalBehavior {

    @TableId(value = "event_id")
    private String eventId;

    @TableField("elderly_id")
    private Long elderlyId;

    @TableField("device_id")
    private String deviceId;

    @TableField("abnormal_type")
    private String abnormalType;

    @TableField("prob")
    private BigDecimal prob;

    @TableField("status")
    private String status;

    @TableField("description")
    private String description;

    @TableField("note")
    private String note;

    @TableField("created_at")
    private LocalDateTime createdAt;

    @TableField("updated_at")
    private LocalDateTime updatedAt;
}